import Vue from 'vue'
import Vuex from 'vuex'
import auth from './modules/auth'
//挂在vuex
Vue.use(Vuex)

//创建VueX对象
const store = new Vuex.Store({
  modules: {
    auth
  }
})
export default store
